package com.qf.dao;

import com.qf.entity.Users;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.Date;
import java.util.List;

public interface UsersDao extends JpaRepository<Users,Integer> {

    public Users findByusernameAndPassword(String user,String pass);

    public List<Users> findByBirthdayBetween(Date begin,Date end);
}
